home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist / dist6.3 / gl_dev.idb / usr / include / gl / get.h.z / get.h
C/C++ Source or Header  |  1996-12-06  |  4KB  |  115 lines

  1. #ifndef    __GL_GET_H__
  2. #define    __GL_GET_H__
  3. /**************************************************************************
  4.  *                                      *
  5.  *          Copyright (C) 1984, Silicon Graphics, Inc.          *
  6.  *                                      *
  7.  *  These coded instructions, statements, and computer programs  contain  *
  8.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  9.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  10.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  11.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  12.  *                                      *
  13.  **************************************************************************/
  14.  
  15.  
  16. /* definitions for returned values of get* routines */
  17.  
  18.  
  19. /* bits in value returned by getbuffer */
  20.  
  21. #define BCKBUFFER        0x1
  22. #define FRNTBUFFER        0x2
  23. #define DRAWZBUFFER        0x4
  24.  
  25. /* values returned by getdisplaymode */
  26.  
  27. #define DMRGB            0    /* RGB single buffer */
  28. #define DMSINGLE        1    /* color map single buffer */
  29. #define DMDOUBLE        2    /* color map double buffer */
  30. #define DMRGBDOUBLE        5    /* RGB double buffer */
  31.  
  32. /* values returned by getmonitor */
  33.  
  34. #define HZ30            0    /* 30 HZ monitor */
  35. #define HZ60            1    /* std 60 HZ monitor */
  36. #define NTSC            2    /* RS 170 monitor */
  37. #define HDTV            3    /* high definition TV */
  38. #define VGA            4    /* VGA 640 x 496 non'laced */
  39. #define IRIS3K            5    /* 3000 series format 1024 x 768 */
  40. #define PR60            6    /* 1/4 resolution HZ60 (replicated) */
  41. #define PAL            9    /* PAL/SECAM monitor */
  42. #define HZ30_SG            11    /* 30 HZ with sync on green */
  43. #define A343            14    /* RS 343 monitor GT 959 vis lines */
  44. #define STR_RECT        15    /* StereoGraphics Stereo, 1280x492x2 */
  45. #define VOF0            16    /* User defined video format 0 */
  46. #define VOF1            17    /* User defined video format 1 */
  47. #define VOF2            18    /* User defined video format 2 */
  48. #define VOF3            19    /* User defined video format 3 */
  49. #define SGI0            20    /* SGI format 650 x 650 non'laced */
  50. #define SGI1            21    /* SGI format 1280 x 485 'laced */
  51. #define SGI2            22    /* SGI format 645 x 485 non'laced */
  52. #define HZ72            23    /* multi-scan 72 HZ monitor */
  53. #define HZ50            24    /* 50HZ monitor timing*/
  54. #define HZ76            25    /* 76HZ monitor timing*/
  55. #define HZ70            26    /* 70HZ monitor timing*/
  56. #define STR_BOT            27    /* Stereo, bottom buffer primary */
  57. #define STR_TOP            28    /* Stereo, top buffer primary */
  58. #define PRESENTER        29    /* IndyPresenter */
  59. #define HZ48            30    /* 48HZ, framelock to movie cameras */ 
  60. #define HZ75            31    /* 75HZ monitor timing*/ 
  61. #define SQR_RECT                32      /* StereoGraphics Stereo, 616x492x2 */
  62. #define SQR_BOT                 33      /* Stereo, bottom buffer primary */
  63. #define SQR_TOP                 34      /* Stereo, top buffer primary */
  64. #define SGI_VIDEO_FORMAT_OTHER    999    /* undefined video format */
  65. /* VOF IDs from 1000 on are reserved for custom customer codes */
  66.  
  67. /* values returned by getvideo(GLVIDEO_REG) */
  68.  
  69. #define GL_VIDEO_REG    0x00800000
  70. #define GLV_GENLOCK    0x00000001    /* genlock to external signal */
  71. #define GLV_UNBLANK    0x00000002    /* unblank the screen */
  72. #define GLV_SRED    0x00000004    /* provide sync on red */
  73. #define GLV_SGREEN    0x00000008    /* provide sync on green */
  74. #define GLV_SBLUE    0x00000010    /* provide sync on blue */
  75. #define GLV_SALPHA    0x00000020    /* provide sync on alpha */
  76. #define GLV_TTLGENLOCK    0x00000080    /* expect TTL level genlock source */
  77.                     /* otherwise, its normal video level */
  78. #define GLV_TTLSYNC    GLV_TTLGENLOCK    /* OBSOLETE, keep for compatibility */
  79. #define GLV_GREENGENLOCK 0x0000100    /* expect genlock source on green input */
  80.                     /* otherwise, its on sync input */
  81.  
  82. /* individual hit bits returned by gethitcode */
  83.  
  84. #define LEFTPLANE        0x0001
  85. #define RIGHTPLANE        0x0002
  86. #define BOTTOMPLANE        0x0004
  87. #define TOPPLANE        0x0008
  88. #define NEARPLANE        0x0010
  89. #define FARPLANE        0x0020
  90.  
  91.  
  92. /* obsolete symbols */
  93.  
  94. #define    GETDEF            __GL_GET_H__
  95.  
  96. #define NOBUFFER        0x0
  97. #define BOTHBUFFERS        0x3
  98.  
  99. #define DMINTENSITYSINGLE    3
  100. #define DMINTENSITYDOUBLE     4
  101.  
  102. #define MONSPECIAL        0x20
  103. #define MONA            5
  104. #define MONB            6
  105. #define MONC            7
  106. #define MOND            8
  107.  
  108. #define MON_ALL            12
  109. #define MON_GEN_ALL        13
  110.  
  111. #define CMAPMULTI        0
  112. #define CMAPONE            1
  113.  
  114. #endif    /* !__GL_GET_H__ */
  115.